<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
%>

<!--  学校信息设置  查看-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<title> 学校信息</title>
	<link href="<%=path %>/css/index_css.css" rel="stylesheet" type="text/css" />
	    <script src="<%=path%>/dwr/engine.js"></script>
    <script src="<%=path%>/dwr/util.js"></script>
   <script src="<%=path%>/dwr/interface/shiyueDwr.js"></script>
	<script type="text/javascript">
		window.onload = function(){
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("XXBBM",getXXBBMCallBack);
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("SZDLBM",getSZDLBMCallBack);
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("SZDJJSXM",getSZDJJSXMCallBack);
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("SZDMZSX",getSZDMZSXCallBack);
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("ZJXYYM",getZJXYYMCallBack);
	  shiyueDwr.findCodeByCodeMaintenanceTypeId("ZJXYYM",getFJXYYMCallBack);
	   document.getElementById('GBDiv').style.display="";
		parent.location.hash="top";
      	
      	if(parent!=null)parent.resizeIframe();
        
      }
      function getSZDMZSXCallBack(map)
    {
      if('${requestScope.unit.SZDMZSX}'!='')
       document.getElementById("SZDMZSX").innerHTML=map['${requestScope.unit.SZDMZSX}'];
    }
	 function getFJXYYMCallBack(map)
    {
    if('${requestScope.unit.FJXYYM}'!='')
       document.getElementById("FJXYYM").innerHTML=map['${requestScope.unit.FJXYYM}'];
    }
	 function getZJXYYMCallBack(map)
    {
     if('${requestScope.unit.ZJXYYM}'!='')
       document.getElementById("ZJXYYM").innerHTML=map['${requestScope.unit.ZJXYYM}'];
    }
	 function getSZDJJSXMCallBack(map)
    { if('${requestScope.unit.SZDJJSXM}'!='')
       document.getElementById("SZDJJSXM").innerHTML=map['${requestScope.unit.SZDJJSXM}'];
    }
	 function getSZDLBMCallBack(map)
    { if('${requestScope.unit.SZDLBM}'!='')
       document.getElementById("SZDLBM").innerHTML=map['${requestScope.unit.SZDLBM}'];
    }
    function getXXBBMCallBack(map)
    {
     if('${requestScope.unit.XXBBM}'!='')
       document.getElementById("XXBBM").innerHTML=map['${requestScope.unit.XXBBM}'];
    }
	</script>
	
	
	
	  
  </head>
  
  <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" align="left" class="f_5">&nbsp;学校信息设置</td>
  </tr>
  <tr>
    <td height="1" colspan="2" bgcolor="#9DD12E"></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top" bgcolor="#F3F8FC">
    <form action="toSetUnitAction.action" method="post">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td colspan="2">
    <table width="100%"  >
  
      
      <tr>
        <td width="130" height="28" align="right" valign="bottom" class="f_6" >&nbsp;学校编号：</td>
        <td align="left" valign="bottom" class="f_6">${unit.code }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;学校名称：</td>
        <td align="left" valign="bottom" class="f_6">${unit.name }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;学校负责人：</td>
        <td align="left" valign="bottom" class="f_6">${unit.headOfUnit }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;地址：</td>
        <td align="left" valign="bottom" class="f_6">${unit.address }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;邮编：</td>
        <td align="left" valign="bottom" class="f_6">${unit.zipCode }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;电话：</td>
        <td align="left" valign="bottom" class="f_6">${unit.phone }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;传真：</td>
        <td align="left" valign="bottom" class="f_6">${unit.fax }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;网址：</td>
        <td align="left" valign="bottom" class="f_6">${unit.webSite }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;邮箱：</td>
        <td align="left" valign="bottom" class="f_6">${unit.email }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="middle" class="f_6">&nbsp;登录Logo：</td>
        <td align="left" valign="bottom" class="f_6">
          <c:if test="${not empty unit.img}">
                            <img src="${applicationScope.currentEnclosureServer.outUrl }/enclosure/${requestScope.unit.img}" id="unitLogo" width="473" height="210" align="top" />
          </c:if>
          &nbsp;
        </td>
      </tr>
      <tr>
        <td height="28" align="right" valign="middle" class="f_6">&nbsp;页眉图片：</td>
        <td align="left" valign="bottom" class="f_6">
          <c:if test="${not empty unit.imgYeMei}">
                            <img src="${applicationScope.currentEnclosureServer.outUrl }/enclosure/${requestScope.unit.imgYeMei}" id="unitLogo01" width="180" height="90" align="top" />
          </c:if>
          &nbsp;
        </td>
      </tr>
      </table></td></tr>
      <tr><td colspan="2">
    <table width="100%" id="GBDiv" style="display: none;" >
      <tr>
        <td height="28" align="right" valign="bottom"  class="f_6" width="130">&nbsp;党组织负责人：</td>
        <td align="left" valign="bottom" class="f_6">${unit.DZZFZR }</td>
      </tr>
       <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;建校年月：</td>
        <td align="left" valign="bottom" class="f_6">${unit.JXNY }</td>
      </tr>
       <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;校庆日：</td>
        <td align="left" valign="bottom" class="f_6">${unit.XQR }</td>
      </tr>
      
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;学校办别：</td>
        <td align="left" valign="bottom" class="f_6" id="XXBBM"></td>
      </tr>

      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;所在地经济属性：</td>
        <td align="left" valign="bottom" class="f_6" id="SZDJJSXM"></td>
      </tr>	
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;所在地民族属性：</td>
        <td align="left" valign="bottom" class="f_6" id='SZDMZSX'></td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;小学规定学制：</td>
        <td align="left" valign="bottom" class="f_6">${unit.XXGDXZ }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;小学入学年龄：</td>
        <td align="left" valign="bottom" class="f_6">${unit.XXRXNL }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;初中规定学制：</td>
        <td align="left" valign="bottom" class="f_6">${unit.CZGDXZ }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;初中入学年龄：</td>
        <td align="left" valign="bottom" class="f_6">${unit.CZRXNL }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;高中规定学制：</td>
        <td align="left" valign="bottom" class="f_6">${unit.GZGDXZ }</td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;主教学语言：</td>
        <td align="left" valign="bottom" class="f_6" id='ZJXYYM'></td>
      </tr>
      <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;辅教学语言：</td>
        <td align="left" valign="bottom" class="f_6" id='FJXYYM'></td>
      </tr>
       <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;招生区域：</td>
        <td align="left" valign="bottom" class="f_6">${unit.ZSQY }</td>
      </tr>
       <tr>
        <td height="28" align="right" valign="bottom" class="f_6">&nbsp;组织机构：</td>
        <td align="left" valign="bottom" class="f_6">${unit.ZZJGDM }</td>
      </tr></table></td></tr>
      
      <!-- <tr>
        <td height="28" align="right" valign="bottom" class="f_6">是否贫困：</td>
        <td align="left" valign="bottom" class="f_6">否</td>
      </tr> -->
      <tr>
            <td height="1" colspan="2" bgcolor="#ACA899"></td></tr>
      <tr>
        <td height="28" colspan="2" align="center" valign="bottom" class="f_6">
        	
        	<input type="submit" name="button" value="修 改" />
        </td>
      </tr>
    </table>
     </form>
    </td>
  </tr>
  <tr>
    <td colspan="2" align="left" bgcolor="#F3F8FC">&nbsp;</td>
  </tr>
</table>
  </body>
</html>
